home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / VB.sdf < prev    next >
Text File  |  2007-04-06  |  4KB  |  191 lines

  1. ;Visual Basic Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Visual Basic
  6. Extensions=bas;frm;cls;ctl
  7. Functions=(?i)^(sub|function|private.sub|private.function|public.sub|public.function)(.*)(\(.*$)
  8. FunctionSubs=$2
  9. Spelling=0 
  10. SpellingContexts=1;2;3
  11. CommentChar='
  12.  
  13. [Comment1]
  14. Type=StartStop
  15. Context=1
  16. Scope=0
  17. Priority=10
  18. WholeWordOnly=0
  19. First='
  20. Last=
  21. Background=Default
  22. Foreground=008000
  23. italic=0
  24.  
  25. [Comment2]
  26. Type=StartStop
  27. Context=2
  28. Scope=0
  29. Priority=10
  30. WholeWordOnly=1
  31. First=rem
  32. Last=
  33. Background=Default
  34. Foreground=008000
  35. italic=0
  36.  
  37. [Quote]
  38. Type=StartStop
  39. Context=3
  40. Scope=0
  41. Priority=10
  42. WholeWordOnly=0
  43. First="
  44. Last="
  45. Background=Default
  46. Foreground=408080
  47.  
  48. [Compiler directives]
  49. Type=StartStop
  50. Context=4
  51. Scope=0
  52. Priority=10
  53. WholeWordOnly=1
  54. First=# 
  55. Last=
  56. Background=Default
  57. Foreground=008000
  58. italic=0
  59. BeginParagraph=1
  60.  
  61. [Sub]
  62. Type=StartStop
  63. Context=5
  64. Scope=0
  65. Priority=4
  66. WholeWordOnly=1
  67. First=Sub
  68. Last=End Sub
  69. Background=Default
  70. Foreground=Default
  71. italic=0
  72. BeginParagraph=1
  73. Outline=1
  74.  
  75. [Function]
  76. Type=StartStop
  77. Context=5
  78. Scope=0
  79. Priority=4
  80. WholeWordOnly=1
  81. First=Function
  82. Last=End Function
  83. Background=Default
  84. Foreground=Default
  85. italic=0
  86. BeginParagraph=1
  87. Outline=1
  88.  
  89. [PublicFunction]
  90. Type=StartStop
  91. Context=5
  92. Scope=0
  93. Priority=4
  94. WholeWordOnly=1
  95. First=Public Function
  96. Last=End Function
  97. Background=Default
  98. Foreground=Default
  99. italic=0
  100. BeginParagraph=1
  101. Outline=1
  102.  
  103. [PrivateFunction]
  104. Type=StartStop
  105. Context=5
  106. Scope=0
  107. Priority=4
  108. WholeWordOnly=1
  109. First=Private Function
  110. Last=End Function
  111. Background=Default
  112. Foreground=Default
  113. italic=0
  114. BeginParagraph=1
  115. Outline=1
  116.  
  117. [PublicSub]
  118. Type=StartStop
  119. Context=5
  120. Scope=0
  121. Priority=4
  122. WholeWordOnly=1
  123. First=Public Sub
  124. Last=End Sub
  125. Background=Default
  126. Foreground=Default
  127. italic=0
  128. BeginParagraph=1
  129. Outline=1
  130.  
  131. [PrivateSub]
  132. Type=StartStop
  133. Context=5
  134. Scope=0
  135. Priority=4
  136. WholeWordOnly=1
  137. First=Private Sub
  138. Last=End Sub
  139. Background=Default
  140. Foreground=Default
  141. italic=0
  142. BeginParagraph=1
  143. Outline=1
  144.  
  145. [frmBEBlock]
  146. Type=StartStop
  147. Context=6
  148. Scope=0
  149. Priority=5
  150. WholeWordOnly=1
  151. First=Begin
  152. Last=End
  153. Background=Default
  154. Foreground=Default
  155. italic=0
  156. BeginParagraph=0
  157. Outline=1
  158. Smart=1
  159.  
  160. [VB Keyword]
  161. Type=keyword
  162. Context=101
  163. Scope=0
  164. Priority=5
  165. WholeWordOnly=1
  166. Keyword1=as;sub
  167. Keyword2=as;do;go;if;is;on;or;to;set;private;true;false;nothing;boolean;Explicit 
  168. Keyword3=all;and;any;bof;cls;com;def;dim;end;eqv;for;get;imp;key;let;mod;not;off;out;put;run;seg;xor;new 
  169. Keyword4=base;beep;call;case;ccur;data;draw;else;exit;goto;kill;line;list;lock;long;loop;lset;name;next;open;play;poke;pset;read;rset;sadd;seek;step;stop;swap;then;tron;type;view;wait;wend
  170. Keyword5=alias;bload;bsave;byval;calls;cdecl;chain;chdir;clear;close;color;const;endif;erase;error;event;field;files;gosub;input;ioctl;local;mkdir;paint;pcopy;print;redim;reset;rmdir;shell;sleep;sound;stack;strig;timer;troff;until;using;while;width;write
  171. Keyword6=access;append;binary;circle;common;defcur;defdbl;defint;deflng;defsng;defstr;delete;double;elseif;locate;lprint;option;output;preset;random;resume;return;screen;seekeq;seekge;seekgt;select;setmem;shared;signal;single;string;system;uevent;unlock;window;global;Public;Static
  172. Keyword7=chdrive;declare;environ;integer;palette;restore 
  173. Keyword8=currency;function;retrieve;with
  174. Keyword9=randomize;savepoint;implementation
  175. Keyword10=begintrans;checkpoint 
  176. Keyword11=committrans;createindex;deleteindex;deletetable
  177. Background=Default
  178. Foreground=0000FF
  179. Bold=0
  180.  
  181. [DFM Keys]
  182. Type=keyword
  183. Context=102
  184. Scope=6
  185. Priority=5
  186. WholeWordOnly=1
  187. Keyword1=begin;end
  188. Background=Default
  189. Foreground=FF00FF
  190. Bold=0
  191.